<template>
    <div>
     <van-nav-bar title="版本信息"  left-arrow @click-left="leftClick" />
         <div class="content">
        <van-cell title="当前版本" :value="Version.versions" />

      <van-cell title="版本信息"  size="large" :label="Version.infomation" />
         </div>
    
    </div>
</template>

<script>
import {version} from '../request/api'
export default {
    data () {
        return {
            Version:[]
 
        }
    },
    created(){
        version().then(res=>{
            if(res.errCode==0){
                console.log(res);
                this.Version=res.data
            }
            

        })
    },
    methods:{
        leftClick(){
            this.$router.push('/personal')
        }
    }
}
</script>
 
<style lang = "less" scoped>
    .van-cell--large{
        margin-top: 10px;
    }
 /deep/   .van-nav-bar{
        background: #003399;
       
        .van-nav-bar__title{
            color: #fff;
        }
        .van-icon::before{
            color: #fff;
        }
    }
</style>